package com.yang.booking.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.text.ParseException;
import java.util.Map;

@FeignClient(name = "nacos-provider-appbooking", fallbackFactory = CousumerFallbackFactory.class)
public interface OpenFeginService {
    @PostMapping("/provider/staff/queryStaffBoard")
    Map<String, Object> queryStaffBoard(@RequestParam(name = "storeId") String storeId,
                                        @RequestParam(name = "arrivalDate") String arrivalDate
    ) throws ParseException;
}
